﻿<%@ WebHandler Language="C#" Class="treegrid" %>
using System;
using System.Web;
using System.Reflection;

public class treegrid : IHttpHandler
{ 
    public void ProcessRequest (HttpContext context) { 
        context.Response.ContentType = "text/plain";
        db.JSONHelper jh = new db.JSONHelper();
        var json = jh.GetGridTreeJSON(context);
        context.Response.Write(json);
        context.Response.End();   
    } 
    
    public bool IsReusable {
        get {
            return false;
        }
    }

}